<?php
/***********************************************************
	Filename: index.php
	Note	: 安装首页
	Version : 3.0
	Author  : qinggan
	Update  : 2010-05-26
***********************************************************/
require_once("global.php");
//判断是否支持附件上传
$act = safe_html($act);
if(!$act)
{
	$ifupload = get_cfg_var("upload_max_filesize");
	if(function_exists("gd_info"))
	{
		$gd = gd_info();
		$gdinfo = $gd["GD Version"];
	}
	else
	{
		$gdinfo = "不支持";
	}
	$tpl->display("index.html");
}
elseif($act == "setconfig")
{
	$tpl->display("setconfig.html");
}
?>